<?phpclass OrderStatusHistoryEntity extends OrderStatusHistoryEntityBase{	public function __construct($arrValue = null, $prefix = '')	{		if(!is_null($arrValue) && is_array($arrValue)){			parent::__construct($arrValue, $prefix);		}	}		public function getStatusName()	{		if(empty($this->orders_status)) return "";		$listStatus = array(ORDER_STATUS_EDITING	=> ORDER_STATUS_EDITING_TEXT,		ORDER_STATUS_PENDING	=> ORDER_STATUS_PENDING_TEXT,		ORDER_STATUS_PROCESSING	=> ORDER_STATUS_PROCESSING_TEXT,		ORDER_STATUS_PROCESSED	=> ORDER_STATUS_PROCESSED_TEXT,		ORDER_STATUS_DELIVERED	=> ORDER_STATUS_DELIVERED_TEXT    				 );    				     				     				     				     	return $listStatus[$this->orders_status];	}}